<?php
require_once(JPGRAPH."jpgraph.php");
/**
 * @name       ChartGenerator
 * @access     public
 * @author     Marcos Vinicius Pereira dos Santos, <marcos@eagletecnologia.com>
 * @version    1.0
 * @package    PHPJasperReport
 * @subpackage Core
 * @since      1.0
 */
class ChartGenerator {

    private $chart = null;

    private $data = null;

    public function setChart(Chart $chart){
        $this->chart = $chart;
    }

    public function setData(Array $data){
        $this->data = $data;
    }


    private function barChart(){

    }

    private function pieChart(){

    }

    private function areaChart(){

    }

    private function lineChart(){
        require_once(JPGRAPH."jpgraph_line.php");
        
    }

    private function ganttChart(){

    }

    private function scatterChart(){
        
    }

    public function generate(){

    }
}
?>
